from django.conf.urls import patterns, include, url

from django.contrib import admin
from bmhdemo import views
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    url(r'^$', 'bmhdemo.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^main/', include('main.urls')),

    url(r'^index$', 'bmhdemo.views.index', name='index'),
    url(r'^login$', 'bmhdemo.views.login', name='login-view'),
    url(r'^logout$', 'bmhdemo.views.logout', name='login-view'),
    
)
